$(function(){
    getUserInfo()
})

function getUserInfo(){
    $.ajax({
        URL:"/my/userinfo",
        method:'GET',
        Headers:{
            Authorization:localStorage.getItem('token')||''
        }
    })
}